package com.yunsc.system.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 短信验证码DTO
 * @date: 2024-05-05 19:16
 */
@Data
@ApiModel(value = "短信验证码DTO")
public class SmsCaptchaDTO {

    private CaptchaForm form;

    @Data
    public static class CaptchaForm {
        // 验证码
        @JsonProperty("captchaCode")
        @ApiModelProperty(value = "验证码")
        private String captchaCode;
        // 验证码key
        @JsonProperty("captchaKey")
        @ApiModelProperty(value = "验证码key")
        private String captchaKey;
        // 手机号
        @ApiModelProperty(value = "手机号")
        private String mobile;
    }
}
